
package com.zjxd.business.web.common;

public class PageModel {

	private int	pageNum;

	private int	pageSize;

	public int getPageNum() {

		return pageNum <= 0 ? 20 : pageNum;
	}

	public void setPageNum(int pageNum) {

		this.pageNum = pageNum;
	}

	public int getPageSize() {

		return pageSize <= 0 ? 1 : pageSize;
	}

	public void setPageSize(int pageSize) {

		this.pageSize = pageSize;
	}

}
